package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单详情对象 car_order_details
 * 
 * @author ruoyi
 * @date 2025-08-11
 */
public class CarOrderDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单详情编号 */
    private Integer id;

    /** 所属订单 */
    @Excel(name = "所属订单")
    private Integer orderId;

    /** 服务id */
    @Excel(name = "服务id")
    private Integer serviceId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }

    public void setServiceId(Integer serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Integer getServiceId() 
    {
        return serviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("serviceId", getServiceId())
            .toString();
    }
}
